Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a package for v1.2.0 #2

Merged
merged 23 commits into from
Mar 4, 2024
Merged

Add a package for v1.2.0 #2

merged 23 commits into from
Mar 4, 2024

Conversation

vgvassilev
Copy link
Contributor

@vgvassilev vgvassilev commented Mar 2, 2024

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@vgvassilev
Copy link
Contributor Author

@mcbarton, I was wondering what would it take to enable the wasm and windows infrastructure? I think we might need some inspiration from https://github.com/conda-forge/xeus-cpp-feedstock?

@vgvassilev
Copy link
Contributor Author

@conda-forge-admin, please rerender

@vgvassilev
Copy link
Contributor Author

@mcbarton, I was wondering what would it take to enable the wasm and windows infrastructure? I think we might need some inspiration from https://github.com/conda-forge/xeus-cpp-feedstock?

It looks like xeus-cpp does not have a version under https://github.com/emscripten-forge/recipes/tree/main/recipes yet.

@vgvassilev
Copy link
Contributor Author

@conda-forge-admin, please rerender

@vgvassilev
Copy link
Contributor Author

@conda-forge-admin, please rerender

@mcbarton
Copy link
Contributor

mcbarton commented Mar 3, 2024

@vgvassilev I will look at this in more detail later today, but the first things which stand out to me are.

In the CI when building on Windows we do not build the shared library so this needs to be remove
https://github.com/vgvassilev/cppinterop-feedstock/blob/6b82e516e33adb92f7d8214c53f3245c1ed5b58a/recipe/bld.bat#L24

I don't understand why this is referencing a Linux folder
https://github.com/vgvassilev/cppinterop-feedstock/blob/6b82e516e33adb92f7d8214c53f3245c1ed5b58a/recipe/bld.bat#L7

CppInterOp also works for arm, so maybe have the name of the folders include the architecture name (also assuming this bash script is also used for osx, then the reference to linux folders should be different on osx).
https://github.com/vgvassilev/cppinterop-feedstock/blob/6b82e516e33adb92f7d8214c53f3245c1ed5b58a/recipe/build.sh#L10

On a similar note, there is no arm machines mentionn the ci support folder, as far as I can tell.

cc: @alexander-penev

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [31]

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@mcbarton
Copy link
Contributor

mcbarton commented Mar 4, 2024

@vgvassilev I can't see in https://github.com/conda-forge/xeus-cpp-feedstock where they are doing the wasm build. A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

@vgvassilev vgvassilev merged commit 901f141 into conda-forge:main Mar 4, 2024
5 checks passed
@vgvassilev vgvassilev deleted the v1.2 branch March 4, 2024 11:32
@vgvassilev
Copy link
Contributor Author

@vgvassilev I can't see in https://github.com/conda-forge/xeus-cpp-feedstock where they are doing the wasm build.

@mcbarton, that seems to be still a PR: emscripten-forge/recipes#737

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

@mcbarton
Copy link
Contributor

mcbarton commented Mar 5, 2024

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

Yes emscripten-forge has its own llvm-dev here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/build.sh. Have you put in any PRs relevant to CppInterOp to llvm 17 since version 17.0.4 since that's the one its building? See https://github.com/emscripten-forge/recipes/blob/ddcb55bf747a57b409b7a805220178c8b750e9f5/recipes/recipes_emscripten/llvm/recipe.yaml#L2C1-L3C1

@vgvassilev
Copy link
Contributor Author

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

Yes emscripten-forge has its own llvm-dev here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/build.sh. Have you put in any PRs relevant to CppInterOp to llvm 17 since version 17.0.4 since that's the one its building? See https://github.com/emscripten-forge/recipes/blob/ddcb55bf747a57b409b7a805220178c8b750e9f5/recipes/recipes_emscripten/llvm/recipe.yaml#L2C1-L3C1

We have not - CppInterOp should be compatible with 17.0.4.

@mcbarton
Copy link
Contributor

mcbarton commented Mar 5, 2024

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

Yes emscripten-forge has its own llvm-dev here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/build.sh. Have you put in any PRs relevant to CppInterOp to llvm 17 since version 17.0.4 since that's the one its building? See https://github.com/emscripten-forge/recipes/blob/ddcb55bf747a57b409b7a805220178c8b750e9f5/recipes/recipes_emscripten/llvm/recipe.yaml#L2C1-L3C1

We have not - CppInterOp should be compatible with 17.0.4.

If you know someone who can get it reviewed and approved, then I can make a start on a recipe for CppInterOp in emscripten-forge sometime in the next few days if you would like.

@vgvassilev
Copy link
Contributor Author

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

Yes emscripten-forge has its own llvm-dev here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/build.sh. Have you put in any PRs relevant to CppInterOp to llvm 17 since version 17.0.4 since that's the one its building? See https://github.com/emscripten-forge/recipes/blob/ddcb55bf747a57b409b7a805220178c8b750e9f5/recipes/recipes_emscripten/llvm/recipe.yaml#L2C1-L3C1

We have not - CppInterOp should be compatible with 17.0.4.

If you know someone who can get it reviewed and approved, then I can make a start on a recipe for CppInterOp in emscripten-forge sometime in the next few days if you would like.

Yes, we do. Maybe we should try doing this to unblock compiler-research/xeus-cpp#14.

@mcbarton
Copy link
Contributor

mcbarton commented Mar 5, 2024

A wasm build cannot make use the llvmdev in Conda-forge as it stands as it forces on zstd (see https://github.com/conda-forge/llvmdev-feedstock/blob/fe9f6c862670e0837b7630d958bf3597e9011914/recipe/build.sh#L44 ). There is currently no build of zstd in https://repo.mamba.pm/emscripten-forge we could make use of for CppInterOp build. How easily do you think it would be to get this changed?

Doesn't emscripten-forge have its own package for LLVM? Can't we use it instead?

Yes emscripten-forge has its own llvm-dev here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/build.sh. Have you put in any PRs relevant to CppInterOp to llvm 17 since version 17.0.4 since that's the one its building? See https://github.com/emscripten-forge/recipes/blob/ddcb55bf747a57b409b7a805220178c8b750e9f5/recipes/recipes_emscripten/llvm/recipe.yaml#L2C1-L3C1

We have not - CppInterOp should be compatible with 17.0.4.

If you know someone who can get it reviewed and approved, then I can make a start on a recipe for CppInterOp in emscripten-forge sometime in the next few days if you would like.

Yes, we do. Maybe we should try doing this to unblock compiler-research/xeus-cpp#14.

Ok. Once I have a draft of a recipe ready for testing I will cc you in the PR, and we can take it from there.

alexander-penev added a commit to alexander-penev/cppinterop-feedstock that referenced this pull request Mar 16, 2024
vgvassilev pushed a commit that referenced this pull request Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants